/**
 * Created by lixin on 2019-11-19
 * 用户信息，头部，包含头像，名称等。
 */
import Taro, {Component} from '@tarojs/taro'
import {Text, View} from '@tarojs/components'
import {AtAvatar, AtIcon, AtButton} from 'taro-ui'
import './userMsg.less'


export default class UserMsg extends Component {

  componentWillMount() {
  }

  componentDidMount() {
  }

  componentWillUnmount() {
  }

  componentDidShow() {
  }

  componentDidHide() {
  }


  render() {
    const _url = 'http://storage.360buyimg.com/mtd/home/32443566_635798770100444_2113947400891531264_n1533825816008.jpg'
    return (
      <View className='user-content'>
        <View className='user-head'>
          <AtAvatar circle image={_url}/>
          <View className='user-info'>
            <Text className='user-text'>用户名：石菖蒲</Text>
            <Text className='user-text'>手机号：185****0798</Text>
          </View>
        </View>
        <View className='account-setting'>
          <AtIcon value='settings' size='16' color='#75271f'></AtIcon>
          账号管理
        </View>
      </View>
    )
  }
}
